package com.lagou.server.provider.xml.service.impl;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * @author caiwei
 * @date 2020-11-8 9:48
 */
public class XmlProvider {

    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("spring-dubbo.xml");
        context.start();
        System.in.read();//按任意键退出
    }
}
